#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
import threading
import time


def show(arg):
    time.sleep(1)
    # print("threading"+ str(arg) + "running....")
    print(threading.current_thread())
    # print(threading.get_ident())
    print(threading.main_thread())

for i in range(10):
    t = threading.Thread(target=show, args=(i,))
    t.start()
# print(time.time())